﻿@model ScrumProject.Models.Story

@{
    ViewBag.Title = "Notes";
}

<h2>Notes</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Story</legend>

            @Html.HiddenFor(model => model.Id)

            <table>
                <tr>
                    <td style="padding-left:520px">
                        <div class="editor-field">
                            @Html.TextAreaFor(model => model.Notes, new { style = "width:400px; height:100px; font-family:Verdana, Helvetica, Sans-Serif; font-size:15px" })
                        </div>
                        <div>
                            @Html.ValidationMessageFor(model => model.Notes)
                        </div>

                        <p>
                            <input type="submit" name="submitButton" value="Save Notes" class="btn" />                        
                            <input type="submit" name="submitButton" value="Cancel" class="btn" />
                        </p>
                    </td>
                </tr>
            </table>
    </fieldset>
}

@*<div>
    @Html.ActionLink("Back to List", "Index", new { projectId = ViewBag.newId }, null)
</div>*@